{%extends "base.html"%}
{%block body%}
<h2>All Statistics</h2>

List of Statistics:
<ul>
{%for statistic in statistics%}
	<li>
	  <a href="{%url statisticcontroller.edit statistic.key.id%}">{{statistic.type|escape}}</a> <br />
	  - Meter : {{statistic.meter|escape}} <br />
	  - Price : {{statistic.price|escape}} <br />
	  - created {{statistic.addDate|date:"Y/m/d"}} <br />
	  - Is Authorized : {{statistic.|escape}}
	 </li>
{%endfor%}
</ul>

<a href="{%url statisticcontroller.new%}">[New Record]</a>

{%endblock%}
